--- ../expect-5.28/./pty_termios.c Mon Oct 26 15:44:50 1998
***************
*** 375,381 ****
} else if (grantpt(master)) {
static char buf[500];
exp_pty_error = buf;
! sprintf(exp_pty_error,"grantpt(%d) failed - likely reason is that your system administrator (in a rage of blind passion to rid the system of security holes) removed setuid from the utility used internally by grantpt to change pty permissions. Tell your system admin to reestablish setuid on the utility. Get the utility name by running Expect under truss or trace.");
close(master);
return(-1);
}
--- 375,381 ----
} else if (grantpt(master)) {
static char buf[500];
exp_pty_error = buf;
! sprintf(exp_pty_error,"grantpt(%d) failed - likely reason is that your system administrator (in a rage of blind passion to rid the system of security holes) removed setuid from the utility used internally by grantpt to change pty permissions. Tell your system admin to reestablish setuid on the utility. Get the utility name by running Expect under truss or trace.", master);